﻿<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!--极速模式-->
    <meta name="renderer" content="webkit" />
    <meta name="force-rendering" content="webkit" />
    <title>急诊API文档</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="./swagger-ui.css">
    <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16">
    <script src="Scripts/jquery-1.10.2.min.js"></script>
    <style>

        html {
            box-sizing: border-box;
            overflow-y: scroll;
        }

        *,
        *:before,
        *:after {
            box-sizing: inherit;
        }

        body {
            margin: 0;
            background: #fafafa;
        }

        .qqgroup {
            position: absolute;
            top: 67px;
            right: 10px;
        }


        .info {
            float: left;
        }

        .download-contents {
            display: none;
        }
    </style>
</head>
<body>
    <div id="swagger-ui"></div>
    <div id="footer" style="text-align: center;margin-bottom: 10px;">
        2023 急诊API文档
        <br><span id="poweredby">Powered by .NET 5.0.0</span>
    </div>
    <!-- Workaround for https://github.com/swagger-api/swagger-editor/issues/1371 -->
    <script>
        if (window.navigator.userAgent.indexOf("Edge") > -1) {
            console.log("Removing native Edge fetch in favor of swagger-ui's polyfill")
            window.fetch = undefined;
        }
    </script>
    <script src="./swagger-ui-bundle.js"></script>
    <script src="./swagger-ui-standalone-preset.js"></script>

    <script>
        window.onload = function () {
            var configObject = JSON.parse('{"urls":[{"url":"/swagger/v1/swagger.json","name":"JHEcisRestFul_Net5 v1"}],"deepLinking":false,"displayOperationId":false,"defaultModelsExpandDepth":-1,"defaultModelExpandDepth":1,"defaultModelRendering":"example","displayRequestDuration":false,"docExpansion":"list","showExtensions":false,"showCommonExtensions":false,"supportedSubmitMethods":["get","put","post","delete","options","head","patch","trace"]}');
            var oauthConfigObject = JSON.parse('{"scopeSeparator":" ","useBasicAuthenticationWithAccessCodeGrant":false,"usePkceWithAuthorizationCodeGrant":false}');

            // Workaround for https://github.com/swagger-api/swagger-ui/issues/5945
            configObject.urls.forEach(function (item) {
                if (item.url.startsWith("http") || item.url.startsWith("/")) return;
                item.url = window.location.href.replace("index.html", item.url).split('#')[0];
            });

            // If validatorUrl is not explicitly provided, disable the feature by setting to null
            if (!configObject.hasOwnProperty("validatorUrl"))
                configObject.validatorUrl = null

            // If oauth2RedirectUrl isn't specified, use the built-in default
            if (!configObject.hasOwnProperty("oauth2RedirectUrl"))
                configObject.oauth2RedirectUrl = window.location.href.replace("index.html", "oauth2-redirect.html").split('#')[0];

            // Apply mandatory parameters
            configObject.dom_id = "#swagger-ui";
            configObject.presets = [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset];
            configObject.layout = "StandaloneLayout";

            // Begin Swagger UI call region

            const ui = SwaggerUIBundle(configObject);

            ui.initOAuth(oauthConfigObject);

            // End Swagger UI call region
            $(".link img").attr("src", "");
            $('#swagger-ui').after("<div class='qqgroup'> <div style=\"color: #4990e2;\"><a href=\"/bgworks\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"link\">1、查看后台定时任务</a><br/><a href=\"/TriageInfoView.html?pvid=cf99d044-5c1f-4f93-b59d-36cedb4d2cc7\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"link\">2、分诊详情网页</a></div></div><div style='clear: both;'></div>");
            window.ui = ui
        }
    </script>
    <script async='async' id='mini-profiler' src='/profiler/includes.min.js?v=4.1.0+c940f0f28d'
            data-version='4.1.0+c940f0f28d' data-path='/profiler/'
            data-current-id='4ec7c742-49d4-4eaf-8281-3c1e0efa8888' data-ids='4ec7c742-49d4-4eaf-8281-3c1e0efa8888'
            data-position='Left'
            data-authorized='true' data-max-traces='5' data-toggle-shortcut='Alt+P'
            data-trivial-milliseconds='2.0' data-ignored-duplicate-execute-types='Open,OpenAsync,Close,CloseAsync'>
    </script>
    <!--<script src="/Scripts/Recorder.js"></script>-->
</body>
</html>
